﻿using System;
using System.Collections.Generic;

namespace SJ.Platform.TransferTool.DBmodels;

/// <summary>
/// 系统组织机构
/// </summary>
public partial class SysOrg
{
    /// <summary>
    /// 主键
    /// </summary>
    public string Id { get; set; } = null!;

    /// <summary>
    /// 组织机构名称
    /// </summary>
    public string OrgName { get; set; } = null!;

    /// <summary>
    /// 父级ID
    /// 
    /// </summary>
    public string? Pid { get; set; }

    /// <summary>
    /// 组织类型：1=公司，2=部门
    /// </summary>
    public int? OrgType { get; set; }

    /// <summary>
    /// 描述
    /// </summary>
    public string? Mark { get; set; }

    /// <summary>
    /// 添加时间
    /// </summary>
    public DateTime? AddTime { get; set; }

    /// <summary>
    /// 添加人
    /// </summary>
    public string? AddUserId { get; set; }

    /// <summary>
    /// 修改时间
    /// </summary>
    public DateTime? EditTime { get; set; }

    /// <summary>
    /// 修改人
    /// </summary>
    public string? EditUserId { get; set; }
}
